﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ChessSuite.Utilities.Common.Moves
{
    public class Move
    {
        #region Constructors.
        public Move(Position from, Position to)
        {
            this.From = from;
            this.To = to;
        }
        public Move(int fileFrom, int rankFrom, int fileTo, int rankTo)
        {
            this.From = new Position(fileFrom, rankFrom);
            this.To = new Position(fileTo, rankTo);
        }
        #endregion

        #region Properties.
        public Position From { get; private set; }
        public Position To { get; private set; }
        #endregion
    }
}
